?
\setupcombination
[location=top,
distance=\spaceamount]
\starttext
\startcombination[2*1]
{\framed[width=5cm,align=flushleft]{Small}}{}
{\framed[width=5cm,align=flushleft]{A really really long line that is
split at 5cm}}{}
\stopcombination
\blank
\placesidebyside
width=0.5\textwidth,
>>> align=normal,
>>> ]
>>>
>>> \definebuffer
>>> [CodeExample]
>>>
>>> \define\stopCodeExample
>>> {\placesidebyside
>>> {\CodeExampleFramed{\typeCodeExample}}
>>> {\CodeExam
;
> \defineframed
> [CodeExampleFramed]
> [
>frame=off,
>width=0.5\textwidth,
>align=normal,
> ]
>
> \definebuffer
>[CodeExample]
>
> \define\stopCodeExample
>{\placesidebyside
> {\CodeExampleFramed{\typeCodeExample}}
> {\C
e wiki as
...
i.e. sourcecode beside the result.
Often the shown source is exactly what I want to show, in other cases I need
some additional setup that I don’t want to show.
Which approach would you suggest? Combinations?
\startbuffer[example-1]
\stopbuffer
\placesidebyside
{\type
iki as
>>
>>
>> ...
>>
>>
>> i.e. sourcecode beside the result.
>>
>> Often the shown source is exactly what I want to show, in other cases I need
>> some additional setup that I don’t want to show.
>>
>> Which approach would
On 07/29/2017 10:58 AM, Pablo Rodriguez wrote:
> On 07/29/2017 12:57 AM, Aditya Mahajan wrote:
>> [...]
>> \placesidebyside
>> {\typebuffer[example-1]}
>> {\getbuffer[setups, example-1]}
> [...]
> Is there now hay to avoid the forced horizontal mode o
On 07/29/2017 12:57 AM, Aditya Mahajan wrote:
> [...]
> \startbuffer[example-1]
>
> \stopbuffer
>
>
> \placesidebyside
> {\typebuffer[example-1]}
> {\getbuffer[setups, example-1]}
Many thanks for your suggestion, Aditya.
I’m afraid everything is forc
some additional setup that I don’t want to show.
Which approach would you suggest? Combinations?
\startbuffer[example-1]
\stopbuffer
\placesidebyside
{\typebuffer[example-1]}
{\getbuffer[setups, example-1
)
\placesidebyside
{table here}
{figure here}
Alan
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg
On 2013–06–06 honyk wrote:
I'd like to type two blocks of text with different 'align' settings side by
side.
Here's one way to do it:
\setupframed
[offset=1ex,
width=8cm,
frame=off]
\starttext
\placesidebyside
{\startframed[align={normal,left}] \input knuth\par\stopframed
Dear Marco,
I'd like to type two blocks of text with different 'align' settings
side by
side.
Here's one way to do it:
\setupframed
[offset=1ex,
width=8cm,
frame=off]
\starttext
\placesidebyside
{\startframed[align={normal,left}] \input knuth\par\stopframed
On Fri, 7 Jun 2013, honyk wrote:
Dear Marco,
I'd like to type two blocks of text with different 'align' settings
side by
side.
Here's one way to do it:
\setupframed
[offset=1ex,
width=8cm,
frame=off]
\starttext
\placesidebyside
{\startframed[align={normal,left}] \input
are set one below the other, and not side by side (what I want). Why?
Each entry in combination consists a the content and the caption but in your
example the first frame is the content and the second the caption.
When you want two things side by side you can use \placesidebyside
, there are different mechanisms behind \startfiguretext
and \placefigure: it is not a float but a box:
\startfiguretext [left] {none}
{\externalfigure [figure] [width=w]}
text
\stopfiguretext
akin to
\placesidebyside
{\externalfigure [figure] [width=w]}
{\framed [frame=no,width
I would like to put several tables side-by-side one another. Nesting
\placesidebyside commands seems a bit inconvenient. Suggestions on
how to make \starttable ... \stoptable not create a newline (without
the \placesidebyside command) would be greatly appreciated.
--
Troy Henderson
Am 05.04.10 15:48, schrieb Troy Henderson:
I would like to put several tables side-by-side one another. Nesting
\placesidebyside commands seems a bit inconvenient. Suggestions on
how to make \starttable ... \stoptable not create a newline (without
the \placesidebyside command) would be greatly
Hello,
Nesting \placesidebyside inside \startcombination\stopcombination
appears to throw-off the spacing.
Alan
%%%
% Minimal example:
% (left pair is misplaced)
%%%
\setupcombinations [distance=0cm]
\starttext
\framed [width=8cm
]}
{\externalfigure[figure 2]}}
\placefigure{some title}
{\startcombination[2*1]
{\framed[width=5cm]{}}{}
{\framed[width=5cm]{}}{}
\stopcombination}
\placefigure{some title}
{\hbox\placesidebyside
{\externalfigure[figure 1]}
{\externalfigure[figure 2]}}
Wolfgang
On Sat, May 9, 2009 at 12:00 PM, Wolfgang Schuster wrote:
\placefigure{some title}
{\placeontopofeachother
{\externalfigure[figure 1]}
{\externalfigure[figure 2]}}
\placefigure{some title}
{\hbox\placesidebyside
{\externalfigure[figure 1]}
{\externalfigure
\placelistofsynonyms
\placelocalfootnotes[settings]
\placelogos[names]
\placeongrid[settings{text}
\placeontopofeachother{text}{text}
\placereferencelist[names]
\placeregister[name][settings]
\placeregister[settings]
\placerule[name]
\placesidebyside{text}{text}
\placesubformula[references]{text
:
- --
\def\MyHead#1#2%
{\setupframed[frame=off]
\framed[width=\hsize,offset=overlay]
{\placesidebyside
{\doifmodeelse{*sectionnumber}%
{\framed[width=.6\hsize,offset=1em,strut=no,align=right,background=screen,backgroundscreen
On Sat, 01 Apr 2006 01:33:23 +0200, Renaud AUBIN wrote:
Hi all,
What's the best (i.e. the CLEANEST ?) solution to put two figures
side-by-side ? (use of placefigure startcombination ?)
Cheers,
Renaud
Does \placesidebyside{}{} command fit your needs ?
Cheers
--
olivier Turlier
Aditya Mahajan wrote:
How do I place some formula on to the right of some text. This does
not work.
\starttext
\placesidebyside
{\framed[width=8cm,align=leftflushed]{\input knuth \relax}}
{%
\startformula\startalign
\NC a \NC= b \NR
\NC c \NC= d \NR
=...]
para 2
\startitemize
etc
\stopframedtext
I tried some things but the two frames will not come out on one line.
How to do this?
\placesidebyside (context manual p.228) should work. A \hbox is another
option, but maybe too unhandy for this.
Greetings, Peter
No, that will not work
some things but the two frames will not come out on one line.
How to do this?
\placesidebyside (context manual p.228) should work. A \hbox is another
option, but maybe too unhandy for this.
Greetings, Peter
yours sincerely,
dr. H. van der Meer
etc
\stopframedtext
I tried some things but the two frames will not come out on one line.
How to do this?
\placesidebyside (context manual p.228) should work. A \hbox is
another
option, but maybe too unhandy for this.
Greetings, Peter
No, that will not work.
After much probing I found
][align=raggedright,width=fit,offset=0pt,frame=off,location=left]
\defineframedtext[repi][align=raggedright,width=fit,offset=0pt,frame=off,location=right]
Now, I want them to be at the same height. However, using
things like placesidebyside or even just \startlepi ...
\stoplepi \startrepi
the following:
\defineframedtext[lepi][align=raggedright,width=fit,offset=0pt,frame=off,location=left]
\defineframedtext[repi][align=raggedright,width=fit,offset=0pt,frame=off,location=right]
Now, I want them to be at the same height. However, using
things like placesidebyside or even just \startlepi
went for the side-by-side option, using
\start/stopcombinations because \placesidebyside put the
figure and table too close together.
--
Giuseppe Oblomov Bilotta
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg
I have a situation when I have to put side by side two
floats (a table and figure). My current code is
\placetable[here][label]{caption}%
{\\placesidebyside
{table code}{figure code}
}
The problem is that sometimes the combined width of table
and figure is bigger than the textwidth. I would like
Giuseppe Bilotta wrote:
I have a situation when I have to put side by side two
floats (a table and figure). My current code is
\placetable[here][label]{caption}%
{\\placesidebyside
{table code}{figure code}
}
Have you tried \centerline (may not work)?
\placetable[here][label]{caption
Taco Hoekwater wrote:
Giuseppe Bilotta wrote:
I have a situation when I have to put side by side two
floats (a table and figure). My current code is
\placetable[here][label]{caption}%
{\\placesidebyside
{table code}{figure code}
}
Have you tried \centerline (may not work
Friday, September 16, 2005 Taco Hoekwater wrote:
Giuseppe Bilotta wrote:
I have a situation when I have to put side by side two
floats (a table and figure). My current code is
\placetable[here][label]{caption}%
{\\placesidebyside
{table code}{figure code}
}
Have you tried \centerline
Giuseppe Bilotta wrote:
Friday, September 16, 2005 Taco Hoekwater wrote:
Giuseppe Bilotta wrote:
I have a situation when I have to put side by side two
floats (a table and figure). My current code is
\placetable[here][label]{caption}%
{\\placesidebyside
{table code}{figure code
Patrick et al,
I got around my last problem by defining a new typing environment, so the
idea below is almost working the way I want. I have:
\startbuffer
x=linspace(-2,4);
y=x.^2-2*x-3;
plot(x,y)
xlabel('x')
ylabel('y')
title('y = x^2 -2x -3')
grid on
\stopbuffer
\placesidebyside
]
\starttext
\startbuffer
x=linspace(-2,4);
y=x.^2-2*x-3;
plot(x,y)
xlabel('x')
ylabel('y')
title('y = x^2 -2x -3')
grid on
\stopbuffer
\typebuffer % test
\placesidebyside{%
\framed[align={lohi,right},
frame=on,
offset=10pt,
background=screen,
screen=0.8,
width=.5
36 matches
Mail list logo